<?php

class ActionService extends Portlet {

    public $service;

    protected function renderContent() {
        if($this->service->owner_id == Y::userId() || Y::user()->isModerator()) {
            $this->render("actionService", array("service" => $this->service));
        }
    }
}
